import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import {RouterProvider} from "react-router-dom";
import router from "./router";
import zhCN from 'antd/locale/zh_CN';
// for date-picker i18n
import 'dayjs/locale/zh-cn';
import {ConfigProvider} from "antd";


const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
    // <React.StrictMode>
        <RouterProvider router={router}>
            <ConfigProvider locale={zhCN}>
                <App/>
            </ConfigProvider>
        </RouterProvider>
    // </React.StrictMode>
);

